package com.asen.plf.enums;

import com.asen.commons.core.base.IntegerEnum;

/**
 * 用户创建方式枚举
 *
 * @author ls
 * @Date 2024-08-22 16:10:00
 */
public enum UserCreateWayEnum implements IntegerEnum {

    BY_INIT(1, "系统初始化创建"),
    BY_USER(2, "人为创建"),
    BY_REGISTER(3, "注册创建"),
    BY_EXTERNAL(4, "外部创建");

    private Integer value;

    private String desc;

    UserCreateWayEnum(Integer value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
